package zuoye.test5;

public class Player  extends  Peoplr{
    private String classname;

    public Player(String id, String name, String sex, int age, String classname) {
        super(id, name, sex, age);
        this.classname = classname;
    }

    @Override
    public void eat() {
        System.out.println(getName()+"吃营养餐");

    }
}
